package com.chaoyer.cynet.common.context;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by apple.
 * Description:
 * Date: 2018-05-19
 * Time: 下午8:19
 */
@Getter
@Setter
public class Param<T> {

    public String value;

    public Param(String t) {
        this.value = t;
    }

    public Long toLong() {
        return Long.parseLong(this.value);
    }

    @Override
    public String toString() {
        return value;
    }
}
